﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RenAi.Medical.DAL;
using RenAi.Medical.Model;
using System.Data;

namespace RenAi.Medical.BLL
{
    public class ParticularBLL
    {
        //实例化对象
        ParticularDAL dal = new ParticularDAL();

        /// <summary>
        /// 显示就医指南信息
        /// </summary>
        /// <returns></returns>
        public DataTable GetParticular()
        {
            return dal.GetParticular();
        }
        /// <summary>
        /// 删除就医指南信息
        /// </summary>
        /// <param name="Particular_Id"></param>
        /// <returns></returns>
        public int DeleteParticular(string Particular_Id)
        {
            return dal.DeleteParticular(Particular_Id);
        }
        /// <summary>
        /// 根据编号找到就医指南信息
        /// </summary>
        /// <param name="Particular_Id"></param>
        /// <returns></returns>
        public DataTable GeParticular(string Particular_Id)
        {
            return dal.GeParticular(Particular_Id);
        }
        /// <summary>
        /// 修改就医指南信息
        /// </summary>s
        /// <param name="p"></param>
        /// <returns></returns>
        public int UpdateParticular(Particular p)
        {
            return dal.UpdateParticular(p);
        }

    }
}
